<?php
function C($controller,$method){
	require_once ('libs/Controller/'.$controller.'Controller.class.php');
	eval('$obj = new '.$controller.'Controller(); $obj->'.$method.'();');
}
function M($model){
	require_once ('libs/Model/'.$model.'Model.class.php');
	eval('$obj = new '.$model.'Model(); ');
	return $obj;
}
function V($view){
	require_once ('libs/View/'.$view.'View.class.php');
	eval('$obj = new '.$view.'View(); ');
	return $obj;
}
function daddslasher($str){
	return (!get_magic_quotes_gpc())?addslashes($str):$str;
}